﻿using Eff.Utils.Attributes;

namespace Redmine.Core.Enums.User
{
    /// <summary>
    /// 用户名显示枚举
    /// 格式约定,{0}-firstname ,{1}-lastname ,{2}-loginname
    /// </summary>
    public enum UserFormat : short
    {
        Default = 0,
        [AttachData("{0} {1}")]
        FirstNameLastName = 1,
        [AttachData("{0}")]
        FirstName = 2,
        [AttachData("{1} {0}")]
        LastNameFirstName = 3,
        [AttachData("{1}, {0}")]
        LastNameComaFirstName = 4,
        [AttachData("{2}")]
        UserName = 5
    }
}
